package daoInterface;

import java.sql.SQLException;

import dto.Bill;

public interface BillDao
{
public void add (Bill bill) throws SQLException, Exception;
public void update (Bill bill) throws SQLException, Exception;
public void delete (Bill bill) throws SQLException, Exception;
public Bill retrieve(String ConditionField, String ConditionValue) throws SQLException, Exception;
public Bill[] retrieveArray(String ConditionField, String ConditionValue) throws SQLException, Exception;
public Bill[] retrieveAll() throws SQLException, Exception;
public int  getAutoGenratedKey();
}